const env = import.meta.env.MODE || 'production';
const EnvConfig = {
  // 开发环境
  development:{
    baseApi:'/api',
    mockApi:'https://www.fastmock.site/mock/5480849abd42cfed1b890a3ffd457def/api'
  },
  // 测试环境
  test:{
    baseApi:'//test.futurefe.com/api',
    nockApi:'https://www.fastmock.site/mock/5480849abd42cfed1b890a3ffd457def/api'
  },
  // 生产环境
  production:{
    baseApi:'//futurefe.com/api',
    mockApi:'https://www.fastmock.site/mock/5480849abd42cfed1b890a3ffd457def/api'
  }
}
export default {
  env,
  mock:false,
  namespace:'CARS',
  ...EnvConfig[env]
}